<?php

class cps_mdl_adlinkpic extends dbeav_model {
    
    
    public function __construct($app) {
        parent::__construct($app);
    }
    
    
    public function getImageById($adId, $aField = array('*')) {
        //组装需要获取的字段
        $strCols = implode(',', $aField);
        //获取推广广告图片
        $arrImg = $this->dump(array('link_id' => $adId), $strCols);
        return $arrImg;
    }
}